home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / mail / pine3.96.tar.gz / pine3.96.tar / pine3.96 / pico / makefile.3b1 < prev    next >
Makefile  |  1996-04-05  |  2KB  |  90 lines

  1. ## $Id: makefile.3b1,v 1.5 1996/04/05 18:08:34 mikes Exp $
  2. #
  3. #   Michael Seibel
  4. #   Networks and Distributed Computing
  5. #   Computing and Communications
  6. #   University of Washington
  7. #   Administration Builiding, AG-44
  8. #   Seattle, Washington, 98195, USA
  9. #   Internet: mikes@cac.washington.edu
  10. #
  11. #   Please address all bugs and comments to "pine-bugs@cac.washington.edu"
  12. #
  13. #   Pine and Pico are registered trademarks of the University of Washington.
  14. #   No commercial use of these trademarks may be made without prior written
  15. #   permission of the University of Washington.
  16. #
  17. #   Pine, Pico, and Pilot software and its included text are Copyright
  18. #   1989-1996 by the University of Washington.
  19. #
  20. #   The full text of our legal notices is contained in the file called
  21. #   CPYRIGHT, included with this distribution.
  22. #
  23.  
  24. #
  25. # Makefile for Convergent Technologies made for AT&T 3b1 and 7300 computers.
  26. # version of the PINE composer library and stand-alone editor pico.
  27. # Port Contributor: Robert Lewis <robertle@sco.com>
  28. #
  29.  
  30. include $(MAKEINC)/Makepre.h
  31.  
  32. #includes symbol info for debugging 
  33. #DASHO=        -g
  34. #for normal build
  35. #DASHO=        -O
  36.  
  37. STDCFLAGS=    -Dct -DMOUSE
  38. CFLAGS=        $(EXTRACFLAGS) $(DASHO) $(STDCFLAGS)
  39.  
  40. # switches for library building
  41. LIBCMD=        ar
  42. LIBARGS=    ru
  43. RANLIB=        :
  44.  
  45. LIBS=        $(EXTRALIBES) -ltermcap
  46.  
  47. OFILES=        attach.o ansi.o basic.o bind.o browse.o buffer.o \
  48.         composer.o display.o file.o fileio.o line.o osdep.o \
  49.         pico.o random.o region.o search.o spell.o tcap.o \
  50.         window.o word.o
  51.  
  52. CFILES=        attach.c ansi.c basic.c bind.c browse.c buffer.c \
  53.         composer.c display.c file.c fileio.c line.c osdep.c \
  54.         pico.c random.c region.c search.c spell.c tcap.c \
  55.         window.c word.c
  56.  
  57. HFILES=        estruct.h edef.h efunc.h ebind.h pico.h osdep.h
  58.  
  59.  
  60. #
  61. # dependencies for the Unix versions of pico and libpico.a
  62. #
  63. all:        pico pilot
  64.  
  65. osdep.c:    os_unix.c
  66.         rm -f osdep.c
  67.         cp os_unix.c osdep.c
  68.  
  69. osdep.h:    os_unix.h
  70.         rm -f osdep.h
  71.         cp os_unix.h osdep.h
  72.  
  73. libpico.a:    osdep.c osdep.h $(OFILES)
  74.         $(LIBCMD) $(LIBARGS) libpico.a $(OFILES)
  75.         $(RANLIB) libpico.a
  76.  
  77. pico:        main.c libpico.a
  78.         $(LD) $(LDFLAGS) -s libpico.a $(SHAREDLIB) -o pico
  79. #        $(CC) $(CFLAGS) main.c libpico.a $(LIBS) $(SHAREDLIB) -o pico
  80.  
  81. pilot:        pilot.c libpico.a
  82.         $(LD) $(LDFLAGS) -s libpico.a $(SHAREDLIB) -o pilot
  83.  
  84. .c.o:        ; $(CC) -c $(CFLAGS) $*.c
  85.  
  86. $(OFILES):    $(HFILES)
  87.  
  88. clean:
  89.         rm -f *.a *.o *~ osdep.c osdep.h pico pilot
  90.